-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix typo in rustdoc/src/what-is-rustdoc.md
#112741
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @jsha (or someone else) soon. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
There are two problems with this: first, why does it | ||
think that our package is named "lib"? Second, why does it not have any | ||
think that our crate is named "lib"? Second, why does it not have any | ||
contents? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not immediately clear to me that this is a typo, as Rust has packages and packages are not crates, see https://doc.rust-lang.org/book/ch07-01-packages-and-crates.html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to the description of the context, I think it is more appropriate to use crate
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, well-spotted!
@bors r+ rollup |
fix typo in `rustdoc/src/what-is-rustdoc.md`
…iaskrgr Rollup of 4 pull requests Successful merges: - rust-lang#112741 (fix typo in `rustdoc/src/what-is-rustdoc.md`) - rust-lang#113535 (Add a sparc-unknown-none-elf target.) - rust-lang#113651 (self type param infer, avoid ICE) - rust-lang#113770 (Generate safe stable code for derives on empty enums) r? `@ghost` `@rustbot` modify labels: rollup
No description provided.